package com.ls.hnks.service;

import com.ls.hnks.util.Result;
import com.ls.hnks.model.Schedule;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 15375
* @description 针对表【tb_schedule(日程)】的数据库操作Service
* @createDate 2023-01-25 21:58:11
*/
public interface ScheduleService extends IService<Schedule> {

    Result getListByCustomerAndDate(String customerId,String date);

    Result getListByUserAndDate(String userId,String date);

    Result getListByDate(String date);

    Result countSchedule(String groupId);

    Result saveSchedule(Schedule schedule);

    Result getDetails(String id);

    Result getListByCustomerId(String customerId, Integer page, Integer size);

    Result removeSchedule(String id);
}
